<?php
namespace app\models;

use yii;
use yii\db\Query;

class Proxy_company 
{
    private $table;

    public function __construct()
    {
        $this->table = yii::$app->db->tablePrefix.'proxy_company';       
    }

    public function get_proxy_company()
    {
        $db  = new Query();
        return $db->select('*')->from($this->table)->all();
    }
}